.class Lrexsee/open/TencentOauth$3;
.super Ljava/lang/Object;
.source "TencentOauth.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/open/TencentOauth;->showVerifierWindow(Lrexsee/open/TencentOauth$OauthRunnable;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/open/TencentOauth;

.field private final synthetic val$runnable:Lrexsee/open/TencentOauth$OauthRunnable;

.field private final synthetic val$url:Ljava/lang/String;


# direct methods
.method constructor <init>(Lrexsee/open/TencentOauth;Ljava/lang/String;Lrexsee/open/TencentOauth$OauthRunnable;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/open/TencentOauth$3;->this$0:Lrexsee/open/TencentOauth;

    iput-object p2, p0, Lrexsee/open/TencentOauth$3;->val$url:Ljava/lang/String;

    iput-object p3, p0, Lrexsee/open/TencentOauth$3;->val$runnable:Lrexsee/open/TencentOauth$OauthRunnable;

    .line 221
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lrexsee/open/TencentOauth$3;)Lrexsee/open/TencentOauth;
    .locals 1

    .prologue
    .line 221
    iget-object v0, p0, Lrexsee/open/TencentOauth$3;->this$0:Lrexsee/open/TencentOauth;

    return-object v0
.end method


# virtual methods
.method public run()V
    .locals 9

    .prologue
    .line 225
    :try_start_0
    iget-object v8, p0, Lrexsee/open/TencentOauth$3;->this$0:Lrexsee/open/TencentOauth;

    new-instance v0, Lrexsee/dialog/PopupWindow;

    iget-object v1, p0, Lrexsee/open/TencentOauth$3;->this$0:Lrexsee/open/TencentOauth;

    # getter for: Lrexsee/open/TencentOauth;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v1}, Lrexsee/open/TencentOauth;->access$1(Lrexsee/open/TencentOauth;)Lrexsee/core/browser/Browser;

    move-result-object v1

    const-string v2, "TencentWeiboVerifierWindow"

    iget-object v3, p0, Lrexsee/open/TencentOauth$3;->val$url:Ljava/lang/String;

    const-string v4, "window-cancelable:false;"

    const/4 v5, 0x0

    invoke-direct/range {v0 .. v5}, Lrexsee/dialog/PopupWindow;-><init>(Lrexsee/core/browser/Browser;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Runnable;)V

    invoke-static {v8, v0}, Lrexsee/open/TencentOauth;->access$14(Lrexsee/open/TencentOauth;Lrexsee/dialog/PopupWindow;)V

    .line 226
    iget-object v0, p0, Lrexsee/open/TencentOauth$3;->this$0:Lrexsee/open/TencentOauth;

    # getter for: Lrexsee/open/TencentOauth;->mVerifierWindow:Lrexsee/dialog/PopupWindow;
    invoke-static {v0}, Lrexsee/open/TencentOauth;->access$15(Lrexsee/open/TencentOauth;)Lrexsee/dialog/PopupWindow;

    move-result-object v0

    iget-object v0, v0, Lrexsee/dialog/PopupWindow;->mChild:Lrexsee/core/browser/Browser;

    const/4 v1, 0x0

    iput-boolean v1, v0, Lrexsee/core/browser/Browser;->allowErrorDialog:Z

    .line 227
    iget-object v0, p0, Lrexsee/open/TencentOauth$3;->this$0:Lrexsee/open/TencentOauth;

    # getter for: Lrexsee/open/TencentOauth;->mVerifierWindow:Lrexsee/dialog/PopupWindow;
    invoke-static {v0}, Lrexsee/open/TencentOauth;->access$15(Lrexsee/open/TencentOauth;)Lrexsee/dialog/PopupWindow;

    move-result-object v0

    iget-object v0, v0, Lrexsee/dialog/PopupWindow;->mChild:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->pageBeforeStartListeners:Lrexsee/core/browser/clazz/PageBeforeStartListeners;

    new-instance v1, Lrexsee/open/TencentOauth$3$1;

    iget-object v2, p0, Lrexsee/open/TencentOauth$3;->val$runnable:Lrexsee/open/TencentOauth$OauthRunnable;

    invoke-direct {v1, p0, v2}, Lrexsee/open/TencentOauth$3$1;-><init>(Lrexsee/open/TencentOauth$3;Lrexsee/open/TencentOauth$OauthRunnable;)V

    invoke-virtual {v0, v1}, Lrexsee/core/browser/clazz/PageBeforeStartListeners;->add(Lrexsee/core/browser/clazz/PageBeforeStartListeners$PageBeforeStartListener;)V

    .line 236
    iget-object v0, p0, Lrexsee/open/TencentOauth$3;->this$0:Lrexsee/open/TencentOauth;

    # getter for: Lrexsee/open/TencentOauth;->mVerifierWindow:Lrexsee/dialog/PopupWindow;
    invoke-static {v0}, Lrexsee/open/TencentOauth;->access$15(Lrexsee/open/TencentOauth;)Lrexsee/dialog/PopupWindow;

    move-result-object v0

    iget-object v0, v0, Lrexsee/dialog/PopupWindow;->mChild:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->pageReadyListeners:Lrexsee/core/browser/clazz/PageReadyListeners;

    new-instance v1, Lrexsee/open/TencentOauth$3$2;

    iget-object v2, p0, Lrexsee/open/TencentOauth$3;->val$runnable:Lrexsee/open/TencentOauth$OauthRunnable;

    invoke-direct {v1, p0, v2}, Lrexsee/open/TencentOauth$3$2;-><init>(Lrexsee/open/TencentOauth$3;Lrexsee/open/TencentOauth$OauthRunnable;)V

    invoke-virtual {v0, v1}, Lrexsee/core/browser/clazz/PageReadyListeners;->add(Lrexsee/core/browser/clazz/PageReadyListeners$PageReadyListener;)V

    .line 246
    new-instance v6, Landroid/widget/Button;

    iget-object v0, p0, Lrexsee/open/TencentOauth$3;->this$0:Lrexsee/open/TencentOauth;

    # getter for: Lrexsee/open/TencentOauth;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v0}, Lrexsee/open/TencentOauth;->access$1(Lrexsee/open/TencentOauth;)Lrexsee/core/browser/Browser;

    move-result-object v0

    invoke-virtual {v0}, Lrexsee/core/browser/Browser;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-direct {v6, v0}, Landroid/widget/Button;-><init>(Landroid/content/Context;)V

    .line 247
    .local v6, "cancel":Landroid/widget/Button;
    const/high16 v0, 0x1040000

    invoke-virtual {v6, v0}, Landroid/widget/Button;->setText(I)V

    .line 248
    new-instance v0, Lrexsee/open/TencentOauth$3$3;

    invoke-direct {v0, p0}, Lrexsee/open/TencentOauth$3$3;-><init>(Lrexsee/open/TencentOauth$3;)V

    invoke-virtual {v6, v0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 254
    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v1, -0x1

    const/16 v2, 0x46

    const/high16 v3, 0x3f800000    # 1.0f

    invoke-direct {v0, v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(IIF)V

    invoke-virtual {v6, v0}, Landroid/widget/Button;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 255
    iget-object v0, p0, Lrexsee/open/TencentOauth$3;->this$0:Lrexsee/open/TencentOauth;

    # getter for: Lrexsee/open/TencentOauth;->mVerifierWindow:Lrexsee/dialog/PopupWindow;
    invoke-static {v0}, Lrexsee/open/TencentOauth;->access$15(Lrexsee/open/TencentOauth;)Lrexsee/dialog/PopupWindow;

    move-result-object v0

    iget-object v0, v0, Lrexsee/dialog/PopupWindow;->mBottomLayout:Landroid/widget/LinearLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 256
    iget-object v0, p0, Lrexsee/open/TencentOauth$3;->this$0:Lrexsee/open/TencentOauth;

    # getter for: Lrexsee/open/TencentOauth;->mVerifierWindow:Lrexsee/dialog/PopupWindow;
    invoke-static {v0}, Lrexsee/open/TencentOauth;->access$15(Lrexsee/open/TencentOauth;)Lrexsee/dialog/PopupWindow;

    move-result-object v0

    iget-object v0, v0, Lrexsee/dialog/PopupWindow;->mBottomLayout:Landroid/widget/LinearLayout;

    const/4 v1, 0x0

    const/4 v2, 0x5

    const/4 v3, 0x0

    const/4 v4, 0x0

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    .line 257
    iget-object v0, p0, Lrexsee/open/TencentOauth$3;->this$0:Lrexsee/open/TencentOauth;

    # getter for: Lrexsee/open/TencentOauth;->mVerifierWindow:Lrexsee/dialog/PopupWindow;
    invoke-static {v0}, Lrexsee/open/TencentOauth;->access$15(Lrexsee/open/TencentOauth;)Lrexsee/dialog/PopupWindow;

    move-result-object v0

    iget-object v0, v0, Lrexsee/dialog/PopupWindow;->mBottomLayout:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v6}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    .line 258
    iget-object v0, p0, Lrexsee/open/TencentOauth$3;->this$0:Lrexsee/open/TencentOauth;

    # getter for: Lrexsee/open/TencentOauth;->mVerifierWindow:Lrexsee/dialog/PopupWindow;
    invoke-static {v0}, Lrexsee/open/TencentOauth;->access$15(Lrexsee/open/TencentOauth;)Lrexsee/dialog/PopupWindow;

    move-result-object v0

    invoke-virtual {v0}, Lrexsee/dialog/PopupWindow;->start()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 262
    .end local v6    # "cancel":Landroid/widget/Button;
    :goto_0
    return-void

    .line 259
    :catch_0
    move-exception v0

    move-object v7, v0

    .line 260
    .local v7, "e":Ljava/lang/Exception;
    iget-object v0, p0, Lrexsee/open/TencentOauth$3;->this$0:Lrexsee/open/TencentOauth;

    # getter for: Lrexsee/open/TencentOauth;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v0}, Lrexsee/open/TencentOauth;->access$1(Lrexsee/open/TencentOauth;)Lrexsee/core/browser/Browser;

    move-result-object v0

    const-string v1, "Oauth.showVerifierWindow"

    invoke-virtual {v0, v1, v7}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    goto :goto_0
.end method
